<template>
  <div class="event-detail-modal">
    <a-modal
      :open="visible"
      title="事件详情"
      width="800px"
      @cancel="handleClose"
      :footer="null"
    >
      <a-empty description="事件详情功能开发中..." />
    </a-modal>
  </div>
</template>

<script setup lang="ts">
// Props
interface Props {
  visible: boolean;
  event: any;
}

defineProps<Props>();

// Emits
const emit = defineEmits<{
  close: [];
}>();

// 方法
const handleClose = () => {
  emit('close');
};
</script>
